#include "singal.h"

singal::singal()
{

}

void singal_list::insert(string name, singal sig)
{
    this->m.insert(name,sig);
}

void singal_list::remove(string name)
{
    map<string,singal>::iterator l_it;
    l_it=maplive.find(name);
    if(l_it==maplive.end())
        return;
    else  maplive.erase(l_it);
}

singal *singal_list::find(string name)
{
    singal *sig=&m[name];
    return sig;
}
